import React from 'react';
import { Row } from 'antd';
import './index.less'
export default (props) => {
    let { title,children,col,style } = props;
    return (
        <section className="description-list" style={style}>
            <div className="des-title">{title}</div>
            <Row>
                {React.Children.map(children, child => {
                    return React.cloneElement(child, {
                        col:col
                    })
                })}
            </Row>
        </section>
    );
}